package com.polaris.live.net.service

import com.polaris.live.common.network.ApiResponse
import com.polaris.live.resp.back_resp.ActCenterResp
import com.polaris.live.resp.back_resp.ActScrollRankRoomVo
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * 活动服务
 *
 * @author Created by 半仙 on 2024/8/2/002 11:02
 */
interface ActService {

    /**
     * 活动中心
     */
    @GET("center")
    suspend fun getAcCenter(): ApiResponse<ActCenterResp>

    /**
     * 查询直播间活动滚动信息
     */
    @GET("activities/scroll/room")
    suspend fun getActivitiesScroll(@Query("userId") userId: Long): ApiResponse<List<ActScrollRankRoomVo>>
}